#pragma once


#include "ui_calculatorform.h"
#include "gpio.h"

class CalculatorForm : public QWidget
{
    Q_OBJECT

public:
    CalculatorForm(QWidget *parent = 0);
    void line(int x, int y, int z);
    void step(int ia, bool id);

private slots:
    void on_pbMoveTo_clicked();
    void on_pbOpen_toggled(bool checked);
    void on_pbToggle_clicked();
    void on_pbOnOff_toggled(bool checked);

private:
    Ui::CalculatorForm ui;
    GPIO_Port MyGpioPort;
};
